package com.newcoder.service;


import com.newcoder.entity.Comment;
import com.newcoder.util.ResponseWrapper;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yjh
 * @since 2024-12-04 10:03:25
 */
public interface CommentService{

    ResponseWrapper selectDiscussPostAllComments(Integer entityIdt);

    ResponseWrapper selectCommentsPage(Integer entityId, Integer offset, Integer limit);

    ResponseWrapper insertComment(Integer discussPostId, Comment comment);

    ResponseWrapper selectCommentById(Integer id);

    ResponseWrapper deleteCommentById(Integer id);

    //补充接口：查询回复我的评论数
}
